package com.hll.spring_book.pojo;

import lombok.*;

import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2021-03-30 09:07:59
 */
@Setter
@Getter
@NoArgsConstructor
@ToString
@AllArgsConstructor
public class User implements Serializable {
  private static final long serialVersionUID = -34535974144360945L;

  private Integer id;

  private String name;

  private String passWord;

  private Boolean admin; // true-是管理员

  private String phone;

  private String email;

  private String avatar;
}
